'use strict';
/**
 * @author aipeli
 * @project midway-crud
 * @date 2022-02-12 18:59:42
 */
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@aipeli/midway-crud';
import { Column } from 'typeorm';

/**
 * order Entity
 */
@EntityModel('shop_order')
export class ShopOrderEntity extends BaseEntity {
  @Column({ comment: '用户id' })
  userId: number;
  @Column({ comment: '订单名称' })
  title: string;
  @Column({ comment: '电话' })
  phone: string;
  @Column({ comment: '地址' })
  address: string;
}
